provider Projects PUT /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/{hook_id}/
@utdk/sentry /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/{hook_id}/
Update a Service Hook
Update a service hook.
organization_id_or_slug path required
The ID or slug of the organization the client keys belong to.
string
project_id_or_slug path required
The ID or slug of the project the client keys belong to.
string
hook_id path required
The GUID of the service hook.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateAServiceHook
PUT/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/hooks/{hook_id}/
Update a service hook.

Parameters

required

The ID or slug of the organization the client keys belong to.

required

The ID or slug of the project the client keys belong to.

required

The GUID of the service hook.

Input

required

The URL for the webhook.

required

The events to subscribe to.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.updateAServiceHook()